// ItemsTest.java

package apitests;

import org.testng.annotations.Test;

import static io.restassured.RestAssured.given;

public class ItemsTest {

    @Test
    public void verifyGetItemsEndpointReturnsSuccessStatusCode(){
        given().
                when().
                get("http://localhost:1000/items").
                then().
                assertThat().statusCode(200);
    }
}
